Java :Java Switch Statement: Constant Expression Required, But It Is Constant